home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 62 6c | 61 63 6b 2e 77 65 65 67 |Path: bl|ack.weeg|
|00000010| 2e 75 69 6f 77 61 2e 65 | 64 75 21 72 6f 62 69 6e |.uiowa.e|du!robin|
|00000020| 73 6f 6e 0a 46 72 6f 6d | 3a 20 54 68 65 20 41 6d |son.From|: The Am|
|00000030| 6f 72 70 68 6f 75 73 20 | 4d 61 73 73 20 3c 72 6f |orphous |Mass <ro|
|00000040| 62 69 6e 73 6f 6e 40 62 | 6c 75 65 2e 77 65 65 67 |binson@b|lue.weeg|
|00000050| 2e 75 69 6f 77 61 2e 65 | 64 75 3e 0a 4e 65 77 73 |.uiowa.e|du>.News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000070| 67 2e 63 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |g.c.Subj|ect: Re:|
|00000080| 20 48 45 4c 50 20 6f 6e | 20 73 74 72 69 6e 67 20 | HELP on| string |
|00000090| 66 75 6e 63 74 69 6f 6e | 73 20 3f 3f 3f 3f 0a 44 |function|s ????.D|
|000000a0| 61 74 65 3a 20 57 65 64 | 2c 20 36 20 4d 61 72 20 |ate: Wed|, 6 Mar |
|000000b0| 31 39 39 36 20 30 30 3a | 35 39 3a 35 36 20 2d 30 |1996 00:|59:56 -0|
|000000c0| 36 30 30 0a 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |600.Orga|nization|
|000000d0| 3a 20 55 6e 69 76 65 72 | 73 69 74 79 20 6f 66 20 |: Univer|sity of |
|000000e0| 49 6f 77 61 2c 20 49 6f | 77 61 20 43 69 74 79 2c |Iowa, Io|wa City,|
|000000f0| 20 49 41 2c 20 55 53 41 | 0a 44 69 73 74 72 69 62 | IA, USA|.Distrib|
|00000100| 75 74 69 6f 6e 3a 20 77 | 6f 72 6c 64 0a 4d 65 73 |ution: w|orld.Mes|
|00000110| 73 61 67 65 2d 49 44 3a | 20 3c 50 69 6e 65 2e 41 |sage-ID:| <Pine.A|
|00000120| 33 32 2e 33 2e 39 31 2e | 39 36 30 33 30 36 30 30 |32.3.91.|96030600|
|00000130| 35 33 30 34 2e 32 30 36 | 37 31 34 49 2d 31 30 30 |5304.206|714I-100|
|00000140| 30 30 30 40 62 6c 61 63 | 6b 2e 77 65 65 67 2e 75 |000@blac|k.weeg.u|
|00000150| 69 6f 77 61 2e 65 64 75 | 3e 0a 52 65 66 65 72 65 |iowa.edu|>.Refere|
|00000160| 6e 63 65 73 3a 20 3c 33 | 31 33 44 45 41 37 33 2e |nces: <3|13DEA73.|
|00000170| 37 35 30 35 40 6d 73 6d | 61 69 6c 2e 73 74 2e 73 |7505@msm|ail.st.s|
|00000180| 74 65 6d 73 2e 63 6f 6d | 3e 0a 4e 4e 54 50 2d 50 |tems.com|>.NNTP-P|
|00000190| 6f 73 74 69 6e 67 2d 48 | 6f 73 74 3a 20 62 6c 61 |osting-H|ost: bla|
|000001a0| 63 6b 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ck.weeg.|uiowa.ed|
|000001b0| 75 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |u.Mime-V|ersion: |
|000001c0| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|000001d0| 3a 20 54 45 58 54 2f 50 | 4c 41 49 4e 3b 20 63 68 |: TEXT/P|LAIN; ch|
|000001e0| 61 72 73 65 74 3d 55 53 | 2d 41 53 43 49 49 0a 58 |arset=US|-ASCII.X|
|000001f0| 2d 53 65 6e 64 65 72 3a | 20 72 6f 62 69 6e 73 6f |-Sender:| robinso|
|00000200| 6e 40 62 6c 61 63 6b 2e | 77 65 65 67 2e 75 69 6f |n@black.|weeg.uio|
|00000210| 77 61 2e 65 64 75 0a 49 | 6e 2d 52 65 70 6c 79 2d |wa.edu.I|n-Reply-|
|00000220| 54 6f 3a 20 3c 33 31 33 | 44 45 41 37 33 2e 37 35 |To: <313|DEA73.75|
|00000230| 30 35 40 6d 73 6d 61 69 | 6c 2e 73 74 2e 73 74 65 |05@msmai|l.st.ste|
|00000240| 6d 73 2e 63 6f 6d 3e 20 | 0a 0a 4f 6e 20 57 65 64 |ms.com> |..On Wed|
|00000250| 2c 20 36 20 4d 61 72 20 | 31 39 39 36 2c 20 6b 69 |, 6 Mar |1996, ki|
|00000260| 6d 20 68 61 69 20 77 72 | 6f 74 65 3a 0a 0a 3e 20 |m hai wr|ote:..> |
|00000270| 50 6c 65 61 73 65 20 68 | 65 6c 70 20 6d 65 2e 0a |Please h|elp me..|
|00000280| 3e 20 0a 3e 20 43 61 6e | 20 61 6e 79 62 6f 64 79 |> .> Can| anybody|
|00000290| 20 74 65 6c 6c 20 6d 65 | 20 69 66 20 74 68 65 72 | tell me| if ther|
|000002a0| 65 20 69 73 20 73 69 6d | 69 6c 61 72 20 66 75 6e |e is sim|ilar fun|
|000002b0| 63 74 69 6f 6e 20 69 6e | 20 70 6c 61 63 65 20 6f |ction in| place o|
|000002c0| 66 20 22 73 74 72 73 65 | 74 28 29 22 20 3f 0a 3e |f "strse|t()" ?.>|
|000002d0| 20 4f 72 20 69 73 20 74 | 68 65 72 65 20 61 6e 6f | Or is t|here ano|
|000002e0| 74 68 65 72 20 77 61 79 | 20 6f 66 20 64 6f 69 6e |ther way| of doin|
|000002f0| 67 20 74 68 69 73 20 3a | 0a 3e 20 49 20 6e 65 65 |g this :|.> I nee|
|00000300| 64 20 74 6f 20 72 65 69 | 6e 69 74 69 61 6c 69 7a |d to rei|nitializ|
|00000310| 65 20 61 20 63 68 61 72 | 20 70 6f 69 6e 74 65 72 |e a char| pointer|
|00000320| 20 64 75 72 69 6e 67 20 | 72 75 6e 2d 74 69 6d 65 | during |run-time|
|00000330| 2e 20 54 68 65 20 73 74 | 61 74 65 6d 65 6e 74 20 |. The st|atement |
|00000340| 0a 3e 20 63 68 61 72 20 | 2a 70 3b 20 70 20 3d 20 |.> char |*p; p = |
|00000350| 22 22 3b 20 69 73 20 63 | 61 75 73 69 6e 67 20 6d |""; is c|ausing m|
|00000360| 65 20 70 72 6f 62 6c 65 | 6d 73 2e 20 49 20 63 61 |e proble|ms. I ca|
|00000370| 6e 27 74 20 75 73 65 20 | 22 73 74 72 73 65 74 28 |n't use |"strset(|
|00000380| 70 2c 27 5c 30 27 29 22 | 20 0a 3e 20 62 65 63 61 |p,'\0')"| .> beca|
|00000390| 75 73 65 20 74 68 65 20 | 63 6f 6d 70 69 6c 65 72 |use the |compiler|
|000003a0| 20 6f 6e 20 74 68 65 20 | 75 6e 69 78 20 6d 61 63 | on the |unix mac|
|000003b0| 68 69 6e 65 20 64 6f 65 | 73 6e 27 74 20 72 65 63 |hine doe|sn't rec|
|000003c0| 6f 67 6e 69 73 65 20 74 | 68 65 20 66 75 6e 63 74 |ognise t|he funct|
|000003d0| 69 6f 6e 2e 0a 0a 20 20 | 70 5b 30 5d 20 3d 20 27 |ion... |p[0] = '|
|000003e0| 5c 30 27 3b 20 2f 2a 20 | 73 65 74 20 66 69 72 73 |\0'; /* |set firs|
|000003f0| 74 20 65 6c 65 6d 65 6e | 74 20 6f 66 20 70 20 74 |t elemen|t of p t|
|00000400| 6f 20 6e 75 6c 20 2a 2f | 0a 0a 20 20 54 68 69 73 |o nul */|.. This|
|00000410| 20 68 61 73 20 74 68 65 | 20 65 66 66 65 63 74 20 | has the| effect |
|00000420| 6f 66 20 22 65 72 61 73 | 69 6e 67 22 20 74 68 65 |of "eras|ing" the|
|00000430| 20 70 72 65 76 69 6f 75 | 73 20 73 74 72 69 6e 67 | previou|s string|
|00000440| 2c 20 75 6e 6c 65 73 73 | 20 79 6f 75 27 72 65 20 |, unless| you're |
|00000450| 0a 75 73 69 6e 67 20 61 | 20 6c 6f 74 20 6f 66 20 |.using a| lot of |
|00000460| 66 75 6e 6b 79 20 70 6f | 69 6e 74 65 72 20 61 72 |funky po|inter ar|
|00000470| 69 74 68 6d 65 74 69 63 | 20 6f 6e 20 70 20 28 65 |ithmetic| on p (e|
|00000480| 67 20 73 74 72 63 6d 70 | 28 70 2b 31 2c 20 22 66 |g strcmp|(p+1, "f|
|00000490| 6f 6f 22 29 29 2e 0a 0a | 20 20 49 66 20 79 6f 75 |oo"))...| If you|
|000004a0| 20 77 61 6e 74 20 74 6f | 20 65 72 61 73 65 20 70 | want to| erase p|
|000004b0| 20 63 6f 6d 70 6c 65 74 | 65 6c 79 2c 20 61 6e 64 | complet|ely, and|
|000004c0| 20 70 20 69 73 20 61 6e | 20 61 72 72 61 79 2c 20 | p is an| array, |
|000004d0| 75 73 65 0a 6d 65 6d 73 | 65 74 28 70 2c 20 27 5c |use.mems|et(p, '\|
|000004e0| 30 27 2c 20 73 69 7a 65 | 6f 66 20 70 29 2e 20 20 |0', size|of p). |
|000004f0| 49 66 20 70 20 69 73 20 | 61 20 70 6f 69 6e 74 65 |If p is |a pointe|
|00000500| 72 20 74 68 65 6e 20 79 | 6f 75 20 63 61 6e 20 75 |r then y|ou can u|
|00000510| 73 65 0a 6d 65 6d 73 65 | 74 28 70 2c 20 27 5c 30 |se.memse|t(p, '\0|
|00000520| 27 2c 20 50 5f 53 49 5a | 45 29 2c 20 77 68 65 72 |', P_SIZ|E), wher|
|00000530| 65 20 50 5f 53 49 5a 45 | 20 69 73 20 74 68 65 20 |e P_SIZE| is the |
|00000540| 6e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 61 63 |number o|f charac|
|00000550| 74 65 72 73 20 0a 79 6f | 75 20 77 61 6e 74 20 74 |ters .yo|u want t|
|00000560| 6f 20 73 65 74 20 74 6f | 20 6e 75 6c 2e 0a 0a 2f |o set to| nul.../|
|00000570| 2a 2a 4a 61 6d 65 73 20 | 52 6f 62 69 6e 73 6f 6e |**James |Robinson|
|00000580| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000590| 2a 2a 2a 2a 2a 2a 2a 20 | 20 20 20 20 20 20 20 20 |******* | |
|000005a0| 20 20 20 0a 20 20 22 41 | 6e 20 69 6d 70 6f 72 74 | . "A|n import|
|000005b0| 61 6e 74 20 67 6f 61 6c | 20 6f 66 20 61 6c 6d 6f |ant goal| of almo|
|000005c0| 73 74 20 65 76 65 72 79 | 20 67 72 61 70 68 69 63 |st every| graphic|
|000005d0| 73 20 70 72 6f 67 72 61 | 6d 20 69 73 20 74 6f 20 |s progra|m is to |
|000005e0| 64 72 61 77 20 70 69 63 | 74 75 72 65 73 20 6f 6e |draw pic|tures on|
|000005f0| 0a 20 74 68 65 20 73 63 | 72 65 65 6e 2e 22 20 20 |. the sc|reen." |
|00000600| 20 20 2d 2d 20 4e 65 69 | 64 65 72 2c 20 44 61 76 | -- Nei|der, Dav|
|00000610| 69 73 20 26 20 57 6f 6f | 2c 20 5f 4f 70 65 6e 47 |is & Woo|, _OpenG|
|00000620| 4c 5f 50 72 6f 67 72 61 | 6d 6d 69 6e 67 5f 47 75 |L_Progra|mming_Gu|
|00000630| 69 64 65 5f 2c 20 43 68 | 61 70 74 65 72 20 31 30 |ide_, Ch|apter 10|
|00000640| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000650| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000660| 20 20 20 20 20 20 20 20 | 2a 2a 2a 2a 2a 2a 2a 2a | |********|
|00000670| 2a 2a 2a 2a 2a 6a 61 6d | 65 73 2d 72 6f 62 69 6e |*****jam|es-robin|
|00000680| 73 6f 6e 40 75 69 6f 77 | 61 2e 65 64 75 2a 2a 2f |son@uiow|a.edu**/|
|00000690| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+